#include "cdownload.h"

namespace buola { namespace bitdaemon {

static uint64_t sNextUID=1;
    
CDownload::CDownload()
    :   mUID(sNextUID++)
{
    gBitDaemon->AddDownload(this);
}

CDownload::~CDownload()
{
    gBitDaemon->RemoveDownload(this);
}

/*namespace bitdaemon*/ } /*namespace buola*/ }
